package com.selectImport.demo;

import org.springframework.context.annotation.ImportSelector;
import org.springframework.core.type.AnnotationMetadata;

/**
 * @author luheng
 * @create 2019/3/31
 */
public class BeanSelectInport implements ImportSelector {
    @Override
    public String[] selectImports(AnnotationMetadata importingClassMetadata) {
        return new String[]{
                "com.selectImport.demo.Person"
        };
    }
}
